WooCommerce\PayPalCommerce\WcGateway\Gateway\CreditCardGateway A

Total Complexity 51
Dependencies 24
Dependents 21
Total lines 590
Lines of code 276
Logical lines of code 121
Comment lines 205
Methods 15
Properties 17

Methods 15

Method Rating Maintainability Complexity Lines of code
process_payment()
B
34 21 90
__construct()
A
39 8 70
get_icon()
S
55 3 20
card_labels()
S
50 1 39
replace_credit_card_cvv_label()
S
70 3 6
process_refund()
S
67 2 7
init_settings()
S
75 2 4
get_option()
S
71 2 6
update_option()
S
65 2 9
is_enabled()
S
79 2 3
init_form_fields()
S
70 1 7
form()
S
72 1 5
is_available()
S
81 1 3
get_transaction_url()
S
75 1 4
settings_renderer()
S
82 1 3